<template>
	<view class="popup-header-component">
		<view>{{ title }}</view>
		<image
			class="icon-close"
			src="https://s1.huishoubao.com/static/wechatMini/icon_close.png"
			@click="$emit('close')"
		></image>
	</view>
</template>

<script>
export default {
	props: {
		title: String
	}
}
</script>

<style lang="scss" scoped>
@import './index.scss';
</style>